FROM mirekphd/python3.10-ubuntu20.04

WORKDIR /data

COPY requirements.txt .

COPY . ctext_flow

# RUN apt-get update && apt-get install -y vim && apt-get clean

RUN pip install -r requirements.txt -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com

ENV PYTHONPATH=/data